package com.fcscs.cservice.client.common.model.restaurants;

import com.fcscs.core.common.MainEnums.HasDisplayString;
import com.fcscs.core.gwt.common.CoreConstants;
import com.fcscs.cservice.client.common.CServiceConstants;
import com.fcscs.cservice.common.CServiceCommonEnums.BookingStatus;

public enum BookingStatusGWTEnum implements HasDisplayString {
	WAITING_LIST(CServiceConstants.CSERVICE_CONSTANTS.waitingList(),BookingStatus.WAITING_LIST),
	PENDING(CServiceConstants.CSERVICE_CONSTANTS.pending(),BookingStatus.PENDING),
	CONFIRMED_BOOKING(CServiceConstants.CSERVICE_CONSTANTS.confirmedBooking(),BookingStatus.CONFIRMED_BOOKING),
	COMPLETED(CoreConstants.CORE_CONSTANTS.completed(),BookingStatus.COMPLETED),
	NO_SHOW(CoreConstants.CORE_CONSTANTS.noShow(),BookingStatus.NO_SHOW),
	CANCEL(CoreConstants.CORE_CONSTANTS.cancel(),BookingStatus.CANCEL),
	FAILED(CServiceConstants.CSERVICE_CONSTANTS.failed(),BookingStatus.FAILED),
	;

	private String dispStr;
	private BookingStatus bookingStatus;

	private BookingStatusGWTEnum(String dispStr, BookingStatus bookingStatus) {
		this.dispStr = dispStr;
		this.bookingStatus = bookingStatus;
	}

	public BookingStatus getBookingStatus() {
		return bookingStatus;
	}

	@Override
	public String getDisplayStr() {
		return dispStr;
	}

}
